
class RequestToken {
  String? aiSource;
  String? grantType = "client_credentials";
  String? apiKey;
  String? secretKey;
  RequestToken();
  RequestToken.setRequestToken(
      {this.aiSource, this.grantType, this.apiKey, required this.secretKey});
  RequestToken.formJson(Map<String, dynamic> json)
      : aiSource = json['aiSource'],
        grantType = json['grantType'],
        apiKey = json['apiKey'],
        secretKey = json['secretKey'];
  Map<String, dynamic> toJson() => {
        'aiSource': aiSource,
        'grantType': grantType,
        'apiKey': apiKey,
        'secretKey': secretKey
      };
  @override
  String toString() {
    // TODO: implement toString
    return "{'aiSource':'$aiSource', 'grantType':'$grantType', 'apiKey':'$apiKey', secretKey:'$secretKey'}";
  }
}
